﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZFBActivation.Core;

namespace ZFBActivation.Model
{
	public class MailPhone: IPropertyChanged
    {
		public string Email {
            get { return this.GetValue(cu => cu.Email); }
            set { this.SetValue(cu => cu.Email, value); }
        }
        public string Password {
            get { return this.GetValue(cu => cu.Password); }
            set { this.SetValue(cu => cu.Password, value); }
        }
        public string Phone {
            get { return this.GetValue(cu => cu.Phone); }
            set { this.SetValue(cu => cu.Phone, value); }
        }

        public bool IsSuccess {
            get { return this.GetValue(cu => cu.IsSuccess); }
            set { this.SetValue(cu => cu.IsSuccess, value); }
        }

        public bool IsInvalid {
            get { return this.GetValue(cu => cu.IsInvalid); }
            set { this.SetValue(cu => cu.IsInvalid, value); }
        }

        public string Url {
            get { return this.GetValue(cu => cu.Url); }
            set { this.SetValue(cu => cu.Url, value); }
        }
        public string QueryPwd {
            get { return this.GetValue(cu => cu.QueryPwd); }
            set { this.SetValue(cu => cu.QueryPwd, value); }
        }
        public string PayPwd {
            get { return this.GetValue(cu => cu.PayPwd); }
            set { this.SetValue(cu => cu.PayPwd, value); }
        }

        public string Name {
            get { return this.GetValue(cu => cu.Name); }
            set { this.SetValue(cu => cu.Name, value); }
        }
        public string SFZCode {
            get { return this.GetValue(cu => cu.SFZCode); }
            set { this.SetValue(cu => cu.SFZCode, value); }
        }
        public int Index { get; set; }
        public string Msg {
            get { return this.GetValue(cu => cu.Msg); }
            set { this.SetValue(cu => cu.Msg, value); }
        }

        public string CacheKey { get; set; }

    }
}
